"use client"; // 添加这一行，使组件变为 Client Component
import { Form, Input } from "antd";
const InputView: React.FC<reactDndProps> = ({ data }) => {
    return (<Form.Item
        label={data.label}
        name={data.name}
        className={`  `}
        style={{ marginBottom: 0 }}
        rules={[{ required: true, message: '请输入对应的js' }]}>
        <Input  />
    </Form.Item>)
}
export default InputView;